<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.physics.units.Unit&rdquo;</title>
        </head>
        <body><h1 class="class">Class s.p.u.Unit(<a href="sympy.core.basic.Atom.html">Atom</a>, <a href="sympy.core.methods.RelMeths.html">RelMeths</a>, <a href="sympy.core.methods.ArithMeths.html">ArithMeths</a>):</h1><span id="part">Part of <a href="sympy.physics.units.html">sympy.physics.units</a></span><div class="toplevel"><div class="undocumented">Undocumented</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.physics.units.Unit.__init__">__init__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.physics.units.Unit.tostr">tostr</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.physics.units.Unit.__eq__">__eq__</a></td><td><div><p>a == b  -&gt; Compare two symbolic trees and see whether they are 
equal</p>
</div></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.physics.units.Unit.__init__">__init__(self, name, abbrev):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.physics.units.Unit.tostr">tostr(self, level=0):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.physics.units.Unit.__eq__">__eq__(self, other):</a></div>
            <div class="functionBody"><pre>a == b  -> Compare two symbolic trees and see whether they are equal

this is the same as:

  a.compare(b) == 0

but faster</pre></div>
            </div></body>
        